package org.andao.commons.service;

/**
 * 邮件发送服务接口.
 * @author Seewo Software - Marco.hu(huzhiguo@cvte.cn)
 *
 */
public interface MailService {

	/**
	 * 发送简易文本邮件
	 * @param from
	 * @param to 
	 * @param subject
	 * @param content
	 */
	public abstract void sendTextMail(String from, String to, String subject,String content);

	/**
	 * 发送MIME邮件
	 * @param toUserName 发送对象
	 * @param to
	 * @param cc
	 * @param subject
	 * @param context
	 * @param attachPath
	 */
	public abstract void sendRichMail(String toUserName, String to, String cc,String subject, String context, String attachPath);

}